LearningStoreHelper Class

Static helper methods to assist with LearningStore-related operations.

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public static class LearningStoreHelper

Methods
Name Description
ÐS Cast (object, out ActivityAttemptItemIdentifier)

Converts a value returned from a LearningStore query to a ActivityAttemptItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out ActivityObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a ActivityObjectiveItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out ActivityPackageItemIdentifier)

Converts a value returned from a LearningStore query to a ActivityPackageItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out AttemptItemIdentifier)

Converts a value returned from a LearningStore query to a AttemptItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out AttemptObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a AttemptObjectiveItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out CommentFromLearnerItemIdentifier)

Converts a value returned from a LearningStore query to a CommentFromLearnerItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out CommentFromLmsItemIdentifier)

Converts a value returned from a LearningStore query to a CommentFromLmsItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out CorrectResponseItemIdentifier)

Converts a value returned from a LearningStore query to a CorrectResponseItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out ExtensionDataItemIdentifier)

Converts a value returned from a LearningStore query to a ExtensionDataItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out GlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a GlobalObjectiveItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out InteractionItemIdentifier)

Converts a value returned from a LearningStore query to a InteractionItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out InteractionObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a InteractionObjectiveItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out LearnerGlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a LearnerGlobalObjectiveItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out MapActivityObjectiveToGlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a MapActivityObjectiveToGlobalObjectiveItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out PackageGlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a PackageGlobalObjectiveItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out PackageItemIdentifier)

Converts a value returned from a LearningStore query to a PackageItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out ResourceItemIdentifier)

Converts a value returned from a LearningStore query to a ResourceItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out SequencingLogEntryItemIdentifier)

Converts a value returned from a LearningStore query to a SequencingLogEntryItemIdentifier, or null if the value is DBNull.

ÐS Cast (object, out UserItemIdentifier)

Converts a value returned from a LearningStore query to a UserItemIdentifier, or null if the value is DBNull.

ÐS Cast<T> (object, out T)

Converts a value returned from a LearningStore query to a given type, or null if the value is DBNull.

ÐS Cast<T> (object, out T?)

Converts a value returned from a LearningStore query to a given type, or null if the value is DBNull.

ÐS CastNonNull (object, out ActivityAttemptItemIdentifier)

Converts a value returned from a LearningStore query to a ActivityAttemptItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out ActivityObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a ActivityObjectiveItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out ActivityPackageItemIdentifier)

Converts a value returned from a LearningStore query to a ActivityPackageItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out AssignmentItemIdentifier)

Converts a value returned from a LearningStore query to an AssignmentItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out AttemptItemIdentifier)

Converts a value returned from a LearningStore query to a AttemptItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out AttemptObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a AttemptObjectiveItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out byte[])

Converts a value returned from a LearningStore query to an IStreamable. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out CommentFromLearnerItemIdentifier)

Converts a value returned from a LearningStore query to a CommentFromLearnerItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out CommentFromLmsItemIdentifier)

Converts a value returned from a LearningStore query to a CommentFromLmsItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out CorrectResponseItemIdentifier)

Converts a value returned from a LearningStore query to a CorrectResponseItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out ExtensionDataItemIdentifier)

Converts a value returned from a LearningStore query to a ExtensionDataItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out GlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a GlobalObjectiveItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out InstructorAssignmentItemIdentifier)

Converts a value returned from a LearningStore query to an InstructorAssignmentItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out InteractionItemIdentifier)

Converts a value returned from a LearningStore query to a InteractionItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out InteractionObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a InteractionObjectiveItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out LearnerAssignmentItemIdentifier)

Converts a value returned from a LearningStore query to a LearnerAssignmentItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out LearnerGlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a LearnerGlobalObjectiveItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out LearningStoreItemIdentifier)

Converts a value returned from a LearningStore query to a LearningStoreItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out LearningStoreXml)

Converts a value returned from a LearningStore query to a LearningStoreXml. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out MapActivityObjectiveToGlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a MapActivityObjectiveToGlobalObjectiveItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out PackageGlobalObjectiveItemIdentifier)

Converts a value returned from a LearningStore query to a PackageGlobalObjectiveItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out PackageItemIdentifier)

Converts a value returned from a LearningStore query to a PackageItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out ResourceItemIdentifier)

Converts a value returned from a LearningStore query to a ResourceItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out SequencingLogEntryItemIdentifier)

Converts a value returned from a LearningStore query to a SequencingLogEntryItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out SiteSettingsItemIdentifier)

Converts a value returned from a LearningStore query to a SiteSettingsItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out string)

Converts a value returned from a LearningStore query to a string. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out UserItemIdentifier)

Converts a value returned from a LearningStore query to a UserItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull (object, out UserWebListItemIdentifier)

Converts a value returned from a LearningStore query to a UserWebListItemIdentifier. Throws an exception if the value is DBNull.

ÐS CastNonNull<T> (object, out T)

Converts a value returned from a LearningStore query to a given type. Throws an exception if the value is DBNull.

Remarks

This class is defined using the "partial" keyword so that additional application-specific helper methods (leveraging, for example, application-specific LearningStore schema extensions) can be added. (Inheritance is not used here because static classes cannot derive from other static classes.) For example, see SlkLStoreHelper.cs.